package exercise1;

public class UseCompute {
	public  static void useCom(Compute com,int num1,int num2) {
		System.out.println(com.calc(num1, num2));
	}
	public static void main(String[] args) {
		useCom(new Add(),3,4);
	}
	
}
